package exercise;

public class EX01_Q03 {

	public static void main(String[] args) {
		// #03
		int x = 2;
		int y = 3;
		int z = 4;
		float $1, $2, $3, $4;

		$1 = 3 * x;
		$2 = 3 * x + y;
		$3 = (float) (x + y) / 7;
		$4 = (float) (3 * x + y) / (z + 2);

		System.out.println("3x = " + $1);
		System.out.println("3x + y = " + $2);
		System.out.println("(x + y)/7 = " + $3);
		System.out.println("(3x + y)/(z + 2) = " + $4);

	}

}
